package com.bang.sgg.service;

import org.springframework.amqp.rabbit.connection.CorrelationData;

/**
 * @Auther: Bang
 * @Date: 2019/11/23 12:01
 * @Description:
 */
public interface MessageService<T>  {

    void send(String exchange, String routingKey, T object, CorrelationData correationData);

    void send(String exchange, String routingKey, T object);
}
